<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Whisper: CRoutingIO Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Whisper
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CRoutingIO Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CRoutingIO" --><!-- doxytag: inherits="ISampleIO" -->
<p><code>#include &lt;<a class="el" href="routing__io_8h_source.html">routing_io.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CRoutingIO:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classCRoutingIO.png" usemap="#CRoutingIO_map" alt=""/>
  <map id="CRoutingIO_map" name="CRoutingIO_map">
<area href="classISampleIO.html" alt="ISampleIO" shape="rect" coords="0,0,76,24"/>
</map>
 </div></div>

<p><a href="classCRoutingIO-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#ab16e81c752863b6c3a61a975045fbd44">CRoutingIO</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a3ac8ff9188e5745e90cd30d35289782b">~CRoutingIO</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a865aedbbcac06e49b20836627231fd1c">init</a> (<a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a> *pConfig)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a20339035ba21f1bb9fc702a75d3735f5">destroy</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a375aa37b0805387ed610d23c3e1d031f">read</a> (void **pData, <a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> &amp;pAction, int pTimeout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a6c1ddd2b9e0b4e48f6832cb6247c1135">write</a> (void *pData, const <a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> &amp;pAction, int pLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structNAudioFormats_1_1SStreamInfo.html">NAudioFormats::SStreamInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a24140ba9720341e1187a726234afb4b4">getStreamInfo</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a4ab769caac33d78ec8f50bb5e14bac0c">getAddressEmbeddee</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return the IP-address of the embedding party  <a href="#a4ab769caac33d78ec8f50bb5e14bac0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a1b2ced22273da117810db48324d7ad6a">getAddressExtractee</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return the IP-address of the extracting party  <a href="#a1b2ced22273da117810db48324d7ad6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a74f4833289b456259086e2b866287c53">printCurrentPacket</a> (uint8_t *pData, uint16_t pLength)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">debugging method for printing the packet's contents  <a href="#a74f4833289b456259086e2b866287c53"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#acdad3461e748daf612eeb5fe850bce6e">CRoutingIO</a> (const <a class="el" href="classCRoutingIO.html">CRoutingIO</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCRoutingIO.html">CRoutingIO</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#af87aa3d3afc1652ffdb613a3bdd4bdb8">operator=</a> (const <a class="el" href="classCRoutingIO.html">CRoutingIO</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#afd78c0a7217d639a15e16d964d9112d2">callback</a> (struct nfq_q_handle *pNfq_q_handle, struct nfgenmsg *pNf_gen_msg, struct nfq_data *pNfq_data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a5baf71cba1faee25286b70f01a96566a">get_address</a> (const char *pSection, const char *pKey, uint32_t *pAddress)</td></tr>
<tr><td colspan="2"><h2><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#add1fec48dbfec8f6a439da89b5be9e0b">callback</a> (struct nfq_q_handle *pNfq_q_handle, struct nfgenmsg *pNf_gen_msg, struct nfq_data *pNfq_data, void *pData)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a0aa9533eb2b18090484067d8f96b7d70">mConfig</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#ad92c5b480687decd553e44952968cab0">mAddressEmbeddee</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a8caf7b7ce404aebeecc59c728cf1a523">mAddressExtractee</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structNAudioFormats_1_1SStreamInfo.html">NAudioFormats::SStreamInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#afc47cdb8f568281dd1f29bd3f6aab36a">mStreamInfo</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a15b68bba5a686388dceacde6d479915a">mAction</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct nfq_handle *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#ad9b39e550207f47052ff64870a85fe4a">mNfq_handle</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct nfq_q_handle *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a7b059b9cf154f14e3c12b1aea660eaf0">mNfq_q_handle</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a4f78719c9b6fba9b84ddca472386db19">mNfq_fd</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a53c26272f978651b1b09d85f1a7ef2f9">mPacketLength</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a6c854e8cad7babe72383d84b3aa556be">mPacketID</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">volatile bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a8be617115ccf75a8077098f589449e5e">mPacketReady</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCIPPacket.html">CIPPacket</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a3ce311f273a7cba9d541cded8a646db1">mIPPacket</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCRTPPacket.html">CRTPPacket</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#abcfc9f25a5455bebd2e82ab7077ea885">mRTPPacket</a></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a98fcaea4b08f1607772c8fac5c1ea7fd">sIniSectionName</a> = &quot;RTP&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#ac59e8b4d544dcf5436e2cb0b3afc30e5">sConfAddressEmbedee</a> = &quot;ADDRESS_EMBEDEE&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a7c85d3b1ad87b6ebb2bdfc36bc3e001f">sConfAddressExtractee</a> = &quot;ADDRESS_EXTRACTEE&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#af0a72f480d73731e41c7286d949e67e2">sConfNfqueueNum</a> = &quot;NFQUEUE_NUM&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRoutingIO.html#a4c9c313c95bc23ecaca0b75ce7bb844d">sBytesPerLine</a> = 36</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab16e81c752863b6c3a61a975045fbd44"></a><!-- doxytag: member="CRoutingIO::CRoutingIO" ref="ab16e81c752863b6c3a61a975045fbd44" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CRoutingIO::CRoutingIO </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3ac8ff9188e5745e90cd30d35289782b"></a><!-- doxytag: member="CRoutingIO::~CRoutingIO" ref="a3ac8ff9188e5745e90cd30d35289782b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual CRoutingIO::~CRoutingIO </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acdad3461e748daf612eeb5fe850bce6e"></a><!-- doxytag: member="CRoutingIO::CRoutingIO" ref="acdad3461e748daf612eeb5fe850bce6e" args="(const CRoutingIO &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CRoutingIO::CRoutingIO </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCRoutingIO.html">CRoutingIO</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="add1fec48dbfec8f6a439da89b5be9e0b"></a><!-- doxytag: member="CRoutingIO::callback" ref="add1fec48dbfec8f6a439da89b5be9e0b" args="(struct nfq_q_handle *pNfq_q_handle, struct nfgenmsg *pNf_gen_msg, struct nfq_data *pNfq_data, void *pData)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CRoutingIO::callback </td>
          <td>(</td>
          <td class="paramtype">struct nfq_q_handle *&#160;</td>
          <td class="paramname"><em>pNfq_q_handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct nfgenmsg *&#160;</td>
          <td class="paramname"><em>pNf_gen_msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct nfq_data *&#160;</td>
          <td class="paramname"><em>pNfq_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>pData</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afd78c0a7217d639a15e16d964d9112d2"></a><!-- doxytag: member="CRoutingIO::callback" ref="afd78c0a7217d639a15e16d964d9112d2" args="(struct nfq_q_handle *pNfq_q_handle, struct nfgenmsg *pNf_gen_msg, struct nfq_data *pNfq_data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CRoutingIO::callback </td>
          <td>(</td>
          <td class="paramtype">struct nfq_q_handle *&#160;</td>
          <td class="paramname"><em>pNfq_q_handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct nfgenmsg *&#160;</td>
          <td class="paramname"><em>pNf_gen_msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct nfq_data *&#160;</td>
          <td class="paramname"><em>pNfq_data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a20339035ba21f1bb9fc702a75d3735f5"></a><!-- doxytag: member="CRoutingIO::destroy" ref="a20339035ba21f1bb9fc702a75d3735f5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CRoutingIO::destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classISampleIO.html#a4a3ef7be5c5abba7f9993913380cb14f">ISampleIO</a>.</p>

</div>
</div>
<a class="anchor" id="a5baf71cba1faee25286b70f01a96566a"></a><!-- doxytag: member="CRoutingIO::get_address" ref="a5baf71cba1faee25286b70f01a96566a" args="(const char *pSection, const char *pKey, uint32_t *pAddress)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t CRoutingIO::get_address </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>pSection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>pKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>pAddress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4ab769caac33d78ec8f50bb5e14bac0c"></a><!-- doxytag: member="CRoutingIO::getAddressEmbeddee" ref="a4ab769caac33d78ec8f50bb5e14bac0c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t CRoutingIO::getAddressEmbeddee </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return the IP-address of the embedding party </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>IP-address of the embedding party as 32-bit integer </dd></dl>

</div>
</div>
<a class="anchor" id="a1b2ced22273da117810db48324d7ad6a"></a><!-- doxytag: member="CRoutingIO::getAddressExtractee" ref="a1b2ced22273da117810db48324d7ad6a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t CRoutingIO::getAddressExtractee </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return the IP-address of the extracting party </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>IP-address of the extracting party as 32-bit integer </dd></dl>

</div>
</div>
<a class="anchor" id="a24140ba9720341e1187a726234afb4b4"></a><!-- doxytag: member="CRoutingIO::getStreamInfo" ref="a24140ba9720341e1187a726234afb4b4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structNAudioFormats_1_1SStreamInfo.html">NAudioFormats::SStreamInfo</a> CRoutingIO::getStreamInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classISampleIO.html#a9e43c9190bd486f654f930aa49af48d1">ISampleIO</a>.</p>

</div>
</div>
<a class="anchor" id="a865aedbbcac06e49b20836627231fd1c"></a><!-- doxytag: member="CRoutingIO::init" ref="a865aedbbcac06e49b20836627231fd1c" args="(CPropertiesReader *pConfig)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CRoutingIO::init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a> *&#160;</td>
          <td class="paramname"><em>pConfig</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="note"><dt><b>Note:</b></dt><dd>The instance of the properties reader will be freed (delete) by the main programm and is not allowed by the deconstructor of an inherit IO class.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pConfig</td><td>pointer to the properties reader </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success, -1 otherwise </dd></dl>

<p>Implements <a class="el" href="classISampleIO.html#ab8ef7dd9048d0944d3c5f50329e0874d">ISampleIO</a>.</p>

</div>
</div>
<a class="anchor" id="af87aa3d3afc1652ffdb613a3bdd4bdb8"></a><!-- doxytag: member="CRoutingIO::operator=" ref="af87aa3d3afc1652ffdb613a3bdd4bdb8" args="(const CRoutingIO &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCRoutingIO.html">CRoutingIO</a>&amp; CRoutingIO::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCRoutingIO.html">CRoutingIO</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a74f4833289b456259086e2b866287c53"></a><!-- doxytag: member="CRoutingIO::printCurrentPacket" ref="a74f4833289b456259086e2b866287c53" args="(uint8_t *pData, uint16_t pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CRoutingIO::printCurrentPacket </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>debugging method for printing the packet's contents </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pData</td><td>pointer to the memory area representing the packet </td></tr>
    <tr><td class="paramname">pLength</td><td>length of the memory area in bytes </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a375aa37b0805387ed610d23c3e1d031f"></a><!-- doxytag: member="CRoutingIO::read" ref="a375aa37b0805387ed610d23c3e1d031f" args="(void **pData, EAction &amp;pAction, int pTimeout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CRoutingIO::read </td>
          <td>(</td>
          <td class="paramtype">void **&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> &amp;&#160;</td>
          <td class="paramname"><em>pAction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pTimeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pData</td><td>Array of bytes, read from media. The buffer for data will be provided by the read method. Therefore a void** and not a void* is needed. </td></tr>
    <tr><td class="paramname">pAction</td><td>displays what has to be done, it also enables the direction from which data came from </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>number of bytes read, 0 for EOF and -1 for a timeout or an error </dd></dl>

<p>Implements <a class="el" href="classISampleIO.html#a5843d1feda7bfffb86dd260a08f5516d">ISampleIO</a>.</p>

</div>
</div>
<a class="anchor" id="a6c1ddd2b9e0b4e48f6832cb6247c1135"></a><!-- doxytag: member="CRoutingIO::write" ref="a6c1ddd2b9e0b4e48f6832cb6247c1135" args="(void *pData, const EAction &amp;pAction, int pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CRoutingIO::write </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> &amp;&#160;</td>
          <td class="paramname"><em>pAction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pData</td><td>Address of the Buffer which will be written to the media. </td></tr>
    <tr><td class="paramname">pAction</td><td>displays what has to be done, it also enables the direction from which data came from </td></tr>
    <tr><td class="paramname">pLength</td><td>Length/Size of the buffer (unit: byte) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>number of bytes written or -1 for an error </dd></dl>

<p>Implements <a class="el" href="classISampleIO.html#ae2026aece7114980b715076b45b906f9">ISampleIO</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a15b68bba5a686388dceacde6d479915a"></a><!-- doxytag: member="CRoutingIO::mAction" ref="a15b68bba5a686388dceacde6d479915a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> <a class="el" href="classCRoutingIO.html#a15b68bba5a686388dceacde6d479915a">CRoutingIO::mAction</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad92c5b480687decd553e44952968cab0"></a><!-- doxytag: member="CRoutingIO::mAddressEmbeddee" ref="ad92c5b480687decd553e44952968cab0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t <a class="el" href="classCRoutingIO.html#ad92c5b480687decd553e44952968cab0">CRoutingIO::mAddressEmbeddee</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8caf7b7ce404aebeecc59c728cf1a523"></a><!-- doxytag: member="CRoutingIO::mAddressExtractee" ref="a8caf7b7ce404aebeecc59c728cf1a523" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t <a class="el" href="classCRoutingIO.html#a8caf7b7ce404aebeecc59c728cf1a523">CRoutingIO::mAddressExtractee</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0aa9533eb2b18090484067d8f96b7d70"></a><!-- doxytag: member="CRoutingIO::mConfig" ref="a0aa9533eb2b18090484067d8f96b7d70" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a>* <a class="el" href="classCRoutingIO.html#a0aa9533eb2b18090484067d8f96b7d70">CRoutingIO::mConfig</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3ce311f273a7cba9d541cded8a646db1"></a><!-- doxytag: member="CRoutingIO::mIPPacket" ref="a3ce311f273a7cba9d541cded8a646db1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCIPPacket.html">CIPPacket</a>* <a class="el" href="classCRoutingIO.html#a3ce311f273a7cba9d541cded8a646db1">CRoutingIO::mIPPacket</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4f78719c9b6fba9b84ddca472386db19"></a><!-- doxytag: member="CRoutingIO::mNfq_fd" ref="a4f78719c9b6fba9b84ddca472386db19" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classCRoutingIO.html#a4f78719c9b6fba9b84ddca472386db19">CRoutingIO::mNfq_fd</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad9b39e550207f47052ff64870a85fe4a"></a><!-- doxytag: member="CRoutingIO::mNfq_handle" ref="ad9b39e550207f47052ff64870a85fe4a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct nfq_handle* <a class="el" href="classCRoutingIO.html#ad9b39e550207f47052ff64870a85fe4a">CRoutingIO::mNfq_handle</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7b059b9cf154f14e3c12b1aea660eaf0"></a><!-- doxytag: member="CRoutingIO::mNfq_q_handle" ref="a7b059b9cf154f14e3c12b1aea660eaf0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct nfq_q_handle* <a class="el" href="classCRoutingIO.html#a7b059b9cf154f14e3c12b1aea660eaf0">CRoutingIO::mNfq_q_handle</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6c854e8cad7babe72383d84b3aa556be"></a><!-- doxytag: member="CRoutingIO::mPacketID" ref="a6c854e8cad7babe72383d84b3aa556be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classCRoutingIO.html#a6c854e8cad7babe72383d84b3aa556be">CRoutingIO::mPacketID</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a53c26272f978651b1b09d85f1a7ef2f9"></a><!-- doxytag: member="CRoutingIO::mPacketLength" ref="a53c26272f978651b1b09d85f1a7ef2f9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classCRoutingIO.html#a53c26272f978651b1b09d85f1a7ef2f9">CRoutingIO::mPacketLength</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8be617115ccf75a8077098f589449e5e"></a><!-- doxytag: member="CRoutingIO::mPacketReady" ref="a8be617115ccf75a8077098f589449e5e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile bool <a class="el" href="classCRoutingIO.html#a8be617115ccf75a8077098f589449e5e">CRoutingIO::mPacketReady</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abcfc9f25a5455bebd2e82ab7077ea885"></a><!-- doxytag: member="CRoutingIO::mRTPPacket" ref="abcfc9f25a5455bebd2e82ab7077ea885" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCRTPPacket.html">CRTPPacket</a>* <a class="el" href="classCRoutingIO.html#abcfc9f25a5455bebd2e82ab7077ea885">CRoutingIO::mRTPPacket</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afc47cdb8f568281dd1f29bd3f6aab36a"></a><!-- doxytag: member="CRoutingIO::mStreamInfo" ref="afc47cdb8f568281dd1f29bd3f6aab36a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structNAudioFormats_1_1SStreamInfo.html">NAudioFormats::SStreamInfo</a> <a class="el" href="classCRoutingIO.html#afc47cdb8f568281dd1f29bd3f6aab36a">CRoutingIO::mStreamInfo</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4c9c313c95bc23ecaca0b75ce7bb844d"></a><!-- doxytag: member="CRoutingIO::sBytesPerLine" ref="a4c9c313c95bc23ecaca0b75ce7bb844d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int <a class="el" href="classCRoutingIO.html#a4c9c313c95bc23ecaca0b75ce7bb844d">CRoutingIO::sBytesPerLine</a> = 36<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac59e8b4d544dcf5436e2cb0b3afc30e5"></a><!-- doxytag: member="CRoutingIO::sConfAddressEmbedee" ref="ac59e8b4d544dcf5436e2cb0b3afc30e5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string <a class="el" href="classCRoutingIO.html#ac59e8b4d544dcf5436e2cb0b3afc30e5">CRoutingIO::sConfAddressEmbedee</a> = &quot;ADDRESS_EMBEDEE&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7c85d3b1ad87b6ebb2bdfc36bc3e001f"></a><!-- doxytag: member="CRoutingIO::sConfAddressExtractee" ref="a7c85d3b1ad87b6ebb2bdfc36bc3e001f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string <a class="el" href="classCRoutingIO.html#a7c85d3b1ad87b6ebb2bdfc36bc3e001f">CRoutingIO::sConfAddressExtractee</a> = &quot;ADDRESS_EXTRACTEE&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af0a72f480d73731e41c7286d949e67e2"></a><!-- doxytag: member="CRoutingIO::sConfNfqueueNum" ref="af0a72f480d73731e41c7286d949e67e2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string <a class="el" href="classCRoutingIO.html#af0a72f480d73731e41c7286d949e67e2">CRoutingIO::sConfNfqueueNum</a> = &quot;NFQUEUE_NUM&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a98fcaea4b08f1607772c8fac5c1ea7fd"></a><!-- doxytag: member="CRoutingIO::sIniSectionName" ref="a98fcaea4b08f1607772c8fac5c1ea7fd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string <a class="el" href="classCRoutingIO.html#a98fcaea4b08f1607772c8fac5c1ea7fd">CRoutingIO::sIniSectionName</a> = &quot;RTP&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="routing__io_8h_source.html">routing_io.h</a></li>
<li><a class="el" href="routing__io_8cxx.html">routing_io.cxx</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 25 2012 22:00:45 for Whisper by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
